package com.atcd.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atcd.springcloud.entities.ResponseResult;

public class CustomerBlockHandler {


    public static ResponseResult handlerException(BlockException exception) {
        return new ResponseResult(4444, "按客戶自定义,global handlerException----1");
    }


    public static ResponseResult handlerException2(BlockException exception) {
        return new ResponseResult(4444, "按客戶自定义,global handlerException----2");
    }
}
